// @flow
import { GPS_CHANGE } from '../actions/wtgprs';
import type { Action } from './types';

export default function wtGprs(state: Object = {}, action: Action) {
  switch (action.type) {
    case GPS_CHANGE:
      return action.data;
    default:
      return state;
  }
}
